import {Component} from 'react';
import WithRoute from '../router/withRoute';
class Child extends Component{
    render(){
        return(
            <div>
                <h1>child组件</h1>
            </div>
        )
    }
    componentDidMount(){
        console.log(this.props)
    }
}
export default WithRoute(Child)